package cn.kgc.springboot;

/**
 * @author: mosin
 * @version: v1.0  2022/11/6
 */
public class LambdaClass {

    private String str;

    public LambdaClass(){
        System.out.println("LambdaClass()");
    }

    public LambdaClass(String str){
        this.str = str;
        System.out.println("LambdaClass(String str)");
    }


   public int  add(int a,int b){
       return  a+b;
   }

   public static int add2(int a,int b){
       return a+b;
   }

}
